import request from '@/utils/request'
import axios from 'axios';
/*添加会员*/
export function addlist(data) {
    return request({
      url: '/memder/adduser',
      method: 'post',
      data
    })
  }
  /*获取会员信息*/
  export function memderlist(data) {
    return request({
      url: '/memder/list',
      method: 'post',
      data
    })
  }
  
  /*编辑会员*/
  export function memdercompile(data) {
    return request({
      url: '/memder/compile',
      method: 'post',
      data
    })
  }
  
  /*删除会员*/
  export function memberremove(data) {
    return request({
      url: '/member/remove',
      method: 'post',
      data
    })
  }
  export default {addlist,memderlist,memdercompile,memberremove}